//
//  SelectedDishListViewController.h
//  OrderSeat
//
//  Created by wangwei on 13-10-11.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SelectedDishCell.h"

@class SelectedDishListDataSource;
@interface SelectedDishListViewController : BaseViewController<SelectedDishCellDelegate,UIAlertViewDelegate>

@property (strong, nonatomic) SelectedDishListDataSource *dataSource;
@property (strong, nonatomic) IBOutlet UITableView *selectedDishTable;
@property (strong, nonatomic) IBOutlet UIView *totalView;
@property (strong, nonatomic) IBOutlet UIButton *btnSubmit;
@property (strong, nonatomic) IBOutlet UIScrollView *theScrollview;
@property (strong, nonatomic) IBOutlet UILabel *totalMoneyLabel;
@property (strong, nonatomic) IBOutlet UILabel *totalCountLabel;

@property (assign, nonatomic) BOOL orderSuccess;
@property (strong, nonatomic) NSString *orderId;
@property (strong, nonatomic) NSString *shopId;
@property (strong, nonatomic) NSString *selectSeats;
@property (strong, nonatomic) NSMutableArray *selectedDishList;

@end


@interface SelectedDishListDataSource : BaseDataSource<UITableViewDelegate,UITableViewDataSource>

@property (strong, nonatomic) SelectedDishListViewController *viewController;
@property (assign, nonatomic) int seatState;

- (void)submitOrderWithURL:(NSString*)url;

@end
